package com.cc.mapper;

import com.cc.model.EbProductCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductCategoryMapper {
        List<EbProductCategory> listByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);
        public int save(EbProductCategory ebProductCategory);
        public int delete(Integer epcId);
        EbProductCategory listById(int epcId);
        public int updateByPrimaryKey(EbProductCategory ebProductCategory);

       int getMaxPage(int pageSize);
        List<EbProductCategory> findBigProductCategory();
        List<EbProductCategory> findSmallProductCategory();
}



